<div style="height: 100%;">
    <div class="form-group myselect">
        <!-- <select
      #teamGroupCombobox
      name="teamGroup"
      class="form-control"
      [(ngModel)]="teamGroupName"
      [attr.data-live-search]="false"
      jq-plugin="selectpicker"
      title="选择主制班组"
    >
      <option *ngFor="let teamGroup of teamGroups" [value]="teamGroup.value">{{ teamGroup.displayText }}</option>
    </select> -->
        <p-dropdown
            [options]="teamGroups"
            name="teamGroups"
            [(ngModel)]="teamGroupName"
            placeholder="选择班组"
            optionLabel="displayText"
        ></p-dropdown>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <button
                type="button"
                class="btn btn-sm btn-success float-right"
                (click)="save()"
                [disabled]="!teamGroupName"
                [buttonBusy]="saving"
                [busyText]="'绑定中...'"
            >
                <i class="fa fa-check-circle"></i> <span>绑定班组</span>
            </button>
        </div>
    </div>
</div>
